<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<jsp:include page="../layout/topPg.jsp" />

<!-- INI axamplePg -->

<div id="fieldBox">
	<form action="doEditUser.html" method="POST">
		<div class="labelField big">
			${user.username}
		</div>
		<br>
		<div id="error">
			<c:if test="${error != null}">
				${error}
			</c:if>
		</div>
		<br>
		<div class="labelField">
			New password
		</div>
		<div class="middleField">
			<input type="password" name="password"/>
		</div>
		<div class="labelField">
			Repeat password
		</div>
		<div class="middleField">
			<input type="password" name="password2"/>
		</div>
		<br>
		<br>
		<div class="labelField">
			Mail
		</div>
		<div class="middleField">
			<input type="text" name="mail" value="${user.mail}"/>
		</div>
		<br>
		<br>
		<div class="rightButton">
			<input type="image" src="../images/buttons/save.png" alt="Save"/>
		</div>
	</form>
</div>
	
<!-- FI axamplePg -->

<jsp:include page="../layout/footerPg.jsp" />
